package com.example.jetpacktest.network.api

import com.example.jetpacktest.domain.Student
import retrofit2.http.GET
import retrofit2.http.Path

interface RetrofitTest1Api {

    /**
     * 获取用户
     */
    @GET("students/{id}")
    suspend fun getStudent(@Path("id")id: Long): Student

}